import 'dart:convert';
import 'dart:io';

//check error
void main(List<String> args) async {
  Map<String, dynamic> jsonMap = {};
  File allString = File(
      "/Users/yaplekde/Development/flutter_projects/mobile-app/lib/l10n/intl_zh.arb");
  String allStringData = await allString.readAsString();
  Map<String, dynamic> tempData = json.decode(allStringData);
  tempData.forEach((key, value) {
    if (key.contains(RegExp(r'[^\w\*]'))) {
      print(key);
    }
  });
}
